cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
↳ QTRS
↳ AAECC Innermost
cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, x, y) → AND(gr(x, 0), gr(y, 0))
COND(true, x, y) → P(x)
COND(true, x, y) → GR(x, 0)
COND(true, x, y) → GR(y, 0)
GR(s(x), s(y)) → GR(x, y)
COND(true, x, y) → COND(and(gr(x, 0), gr(y, 0)), p(x), p(y))
COND(true, x, y) → P(y)
cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
COND(true, x, y) → AND(gr(x, 0), gr(y, 0))
COND(true, x, y) → P(x)
COND(true, x, y) → GR(x, 0)
COND(true, x, y) → GR(y, 0)
GR(s(x), s(y)) → GR(x, y)
COND(true, x, y) → COND(and(gr(x, 0), gr(y, 0)), p(x), p(y))
COND(true, x, y) → P(y)
cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
COND(true, x, y) → COND(and(gr(x, 0), gr(y, 0)), p(x), p(y))
cond(true, x, y) → cond(and(gr(x, 0), gr(y, 0)), p(x), p(y))
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, x, y) → COND(and(gr(x, 0), gr(y, 0)), p(x), p(y))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
cond(true, x0, x1)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
cond(true, x0, x1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
COND(true, x, y) → COND(and(gr(x, 0), gr(y, 0)), p(x), p(y))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1))
COND(true, y0, 0) → COND(and(gr(y0, 0), false), p(y0), p(0))
COND(true, 0, y1) → COND(and(false, gr(y1, 0)), p(0), p(y1))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1))
COND(true, 0, y1) → COND(and(false, gr(y1, 0)), p(0), p(y1))
COND(true, y0, 0) → COND(and(gr(y0, 0), false), p(y0), p(0))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), x0, p(y1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
COND(true, y0, 0) → COND(and(gr(y0, 0), false), p(y0), p(0))
COND(true, 0, y1) → COND(and(false, gr(y1, 0)), p(0), p(y1))
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), x0, p(y1))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, y0, 0) → COND(false, p(y0), p(0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
COND(true, y0, 0) → COND(false, p(y0), p(0))
COND(true, 0, y1) → COND(and(false, gr(y1, 0)), p(0), p(y1))
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), x0, p(y1))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
COND(true, 0, y1) → COND(and(false, gr(y1, 0)), p(0), p(y1))
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), x0, p(y1))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, 0, y1) → COND(false, p(0), p(y1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
COND(true, 0, y1) → COND(false, p(0), p(y1))
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), x0, p(y1))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), x0, p(y1))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), x0)
COND(true, s(x0), y1) → COND(and(true, gr(y1, 0)), x0, p(y1))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, s(y0), s(x0)) → COND(and(true, true), y0, p(s(x0)))
COND(true, s(y0), 0) → COND(and(true, false), y0, p(0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
COND(true, s(y0), s(x0)) → COND(and(true, true), y0, p(s(x0)))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), x0)
COND(true, s(y0), 0) → COND(and(true, false), y0, p(0))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
COND(true, s(y0), s(x0)) → COND(and(true, true), y0, p(s(x0)))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), x0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
COND(true, s(y0), s(x0)) → COND(and(true, true), y0, p(s(x0)))
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), x0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, s(y0), s(x0)) → COND(true, y0, p(s(x0)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), x0)
COND(true, s(y0), s(x0)) → COND(true, y0, p(s(x0)))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
COND(true, y0, s(x0)) → COND(and(gr(y0, 0), true), p(y0), x0)
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, 0, s(y1)) → COND(and(false, true), p(0), y1)
COND(true, s(x0), s(y1)) → COND(and(true, true), p(s(x0)), y1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
COND(true, 0, s(y1)) → COND(and(false, true), p(0), y1)
COND(true, s(x0), s(y1)) → COND(and(true, true), p(s(x0)), y1)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
COND(true, s(x0), s(y1)) → COND(and(true, true), p(s(x0)), y1)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
COND(true, s(x0), s(y1)) → COND(and(true, true), p(s(x0)), y1)
and(true, true) → true
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
COND(true, s(x0), s(y1)) → COND(and(true, true), p(s(x0)), y1)
and(true, true) → true
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
p(0)
p(s(x0))
COND(true, s(x0), s(y1)) → COND(true, p(s(x0)), y1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
COND(true, s(x0), s(y1)) → COND(true, p(s(x0)), y1)
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
and(true, true) → true
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, s(x0), s(y1)) → COND(true, p(s(x0)), y1)
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
p(0)
p(s(x0))
and(true, true)
and(x0, false)
and(false, x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
COND(true, s(x0), s(y1)) → COND(true, p(s(x0)), y1)
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
p(s(x)) → x
p(0)
p(s(x0))
COND(true, s(x0), s(y1)) → COND(true, x0, y1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
p(s(x)) → x
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
p(0)
p(s(x0))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
COND(true, s(y0), s(x0)) → COND(true, y0, x0)
From the DPs we obtained the following set of size-change graphs: